cmake_minimum_required (VERSION 3.8)

project(x2lib_objs)

include (../options.cmake)

file(GLOB x2lib_srcs "*.c*" "open/*.c*" "open/depends/*.c*")
add_library(x2lib_objs OBJECT ${x2lib_srcs})
add_library(x2lib STATIC $<TARGET_OBJECTS:x2lib_objs>)
